package com.gmlive.common.gmshare.interfaces

/**
 * Author: xs
 * Create on: 2020/06/17
 * Description: _
 */

object ShareConstant {
    /// -------------------------- 分享渠道 --------------------------
    /**
     * 微信好友分享渠道
     */
    const val SHARE_CHANNEL_WEIXIN_FRIEND = 1

    /**
     * 微信朋友圈
     */
    const val SHARE_CHANNEL_WEIXIN_CIRCLE = 1 shl 1

    /**
     * QQ分享渠道
     */
    const val SHARE_CHANNEL_QQ = 1 shl 2

    /**
     * QQ空间渠道
     */
    const val SHARE_CHANNEL_QZONE = 1 shl 3

    /// -------------------------- 分享渠道 --------------------------
    /// <<<< share status
    const val SHARE_STATUS_COMPLETE = 1
    const val SHARE_STATUS_FAILED = 2
    const val SHARE_STATUS_CANCEL = 3
    const val SHARE_STATUS_ERROR = 4
    const val SHARE_STATUS_NOT_SUPPORT = 1000 // 未安装微信或者微信版本太低

    const val QQ_PACKAGE_NAME = "com.tencent.mobileqq" // QQ包名
}